package com.xmy.cultivate.entity;

import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 物资类型表
 * </p>
 *
 * @author hpiggy
 * @since 2024-07-30
 */
@TableName("store_goods_type")
@ApiModel(value = "StoreGoodsType对象", description = "物资类型表")
@Data
public class StoreGoodsType implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    private String name;

    private Long pid;

    private Integer status;

    @TableLogic
    private Integer deleted;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createdAt;
}
